<extend name="Public/base" />

<block name="body">
<div class="main-title">
	<h2>用户反馈</h2>
</div>
<div class="data-table table-striped">
	<form class="ids">
		<table>
			<thead>
				<tr>
					<th class="row-selected"><input class="checkbox check-all"
						type="checkbox"></th>					
					<th>用户</th>					
					<th>反馈时间</th>
					<th>是否已读</th>				
					<th>内容</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<notempty name="flist"> <volist name="flist" id="list">
				<tr>
					<td><input class="ids row-selected" type="checkbox"
						name="id[]" value="{$list.id}"></td>
					<td><empty name="list.nickname">
					未登录用户
					<else />					
					{$list.nickname}
					</empty>
					</td>
					<td>{$list.createtime|time_format}</td>
					<td>{$list.is_read_text}</td>	
					<td>{$list.content|strip_tags|msubstr=5,50}</td>
					<td><a title="编辑" href="{:U('detail?id='.$list['id'])}">详细</a> <a
						class="confirm ajax-get" title="删除"
						href="{:U('del?id='.$list['id'])}">删除</a></td>
				</tr>
				</volist> <else />
				<td colspan="10" class="text-center">aOh! 暂时还没有内容!</td>
				</notempty>
			</tbody>
		</table>
	</form>
	<!-- 分页 -->
	<div class="page">{$_page}</div>
</div>
</block>

<block name="script"> <script type="text/javascript">
        $(function() {
            //导航高亮
            highlight_subnav('{:U('feedback/index')}');

        });
    </script> </block>